package com.yc.booktable.service.impl;

import com.yc.booktable.entity.AdminUser;
import com.yc.booktable.mapper.AdminUserMapper;
import com.yc.booktable.service.IAdminUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zbh
 * @since 2022-06-06
 */
@Service
public class AdminUserServiceImpl extends ServiceImpl<AdminUserMapper, AdminUser> implements IAdminUserService {

    @Resource
    private AdminUserMapper userMapper;

    public List<AdminUser> selectexid(Long id){
        return userMapper.selectby(id);
    }
}
